<?php
/**
 * Created by PhpStorm.
 * User: Lin
 * Date: 2017/4/7 0007
 * Time: 下午 20:05
 */
Class MemberAction extends CommonAction{
    public function showList(){
        import('Class.PageObj',APP_PATH);
        $page=PageObj::getPage('member','',20);
        $memberArr=D('MemberRelation')->limit($page['limit'])->relation(true)->select();
//        p($memberArr);
//        p($page['show'],1);
        $this->memberArr=$memberArr;
        $this->show=$page['show'];
        $this->display();
    }
}